package com.xls.aclservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xls.aclservice.entity.SysRole;
import com.xls.aclservice.vo.RoleQuery;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xls
 * @since 2021-03-23
 */
public interface SysRoleService extends IService<SysRole> {

    Page<SysRole> getRolePage(Integer page, Integer limit, RoleQuery roleQuery);

    void updateStatus(SysRole sysRole);

    void saveRole(SysRole sysRole);

    SysRole getRole(Long id);

    void removeRole(String id);

    List<SysRole> selectRoleByUserId(Long id);
}
